#pragma once

#include <math.h>

typedef long long int64;

class container
{
	public :
		container();
		explicit container(int);
		container(const container&);
		container(const container&, int);
		~container();
		int64 operator [](int) const;
		int64& operator [](int);
		container& operator =(const container&);
		int size() const;
		void resize(int);
		void swap(container&);
		class Range{};
		class Size{};
	private :
		int capacity;
		union
		{
			int64 digit;
			int64 *digits;
		};
};